#include "DynamicVariable.h"

#include <iostream>

int main()
{
    DynamicClass dc("thing"); 
    dc.addVar<int>("iv1");
    dc.addVar<char>("cv1");
    dc.getVar<int>("iv1")=2;
    char c = dc.getVar<char>("cv1");
    c='a';
    
    std::cout << dc.getVar<int>("iv1") << " " << c << "\n";    
    
    std::cin >> c;
};
